package com.wjv.example.common;

/**
 * <p>Title: ResultCode</p>
 *
 * @author wjv
 * @date 2021/7/5 11:35
 */
public enum ResultCode {

    /** 请求成功*/
    SUCCESS(2000, "成功"),
    
    FAIL(5000, "失败");

    ResultCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private int code;

    private String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
